import RenderView from "./render_view"
export class ViewProvider {
    provide (viewMode, textModel, selectionModel, viewContainer) {
        switch (viewMode) {
            case 'source':
                return new RenderView(textModel, selectionModel, viewContainer);
                break;
            case 'render':
                break;
            default:
                return new RenderView(textModel, selectionModel, viewContainer);
        }
    }
}
export default ViewProvider